<?php

namespace app\api\service;

use app\api\model\SetAccountFlow as Flow;

trait SetAccountFlow
{
    protected static function newFlow($data)
    {
        $model = new Flow();
        $data['number'] = "jxc".time();
        return $model->save($data);
    }
}
